﻿using ZeroSum.Attributes;
using ZeroSum.Plugin.Authorization.Datas.Aggregates.UserAggregate;
using ZeroSumZSA.Core.Aggregates.RoleAggregate;

namespace ZeroSumZSA.Core.Aggregates.UserAggregate;

[Entity]
public class User : UserBase
{
    /// <summary>
    ///     多对多中间表（用户-角色）
    /// </summary>
    public virtual ICollection<Role>? Roles { get; set; }
}